package zheezes.eisp.collect.model.impl.wt;

import org.apache.log4j.Logger;

import zheezes.eisp.collect.model.CollectManager;
import zheezes.eisp.collect.model.CollectTaskHandler;
import zheezes.eisp.data.orm.CollectTask;


public class WtCollectManager extends CollectManager {
private static Logger logger = Logger.getLogger(WtCollectManager.class);
	
	static {
		logger.debug("loading");
	}

	@Override
	public CollectTaskHandler select(CollectTask task) {
		CollectTaskHandler handler = null;

		switch (task.getType().intValue()) {
		case CollectTask.FRZ_DATA_TASK:
			handler = new WtRrzDataCollectTaskHandler();
			break;
		}
		return handler;
	}
}
